FROM docker.jianmuhub.com/library/node:16.19.0-buster-slim

WORKDIR /home

ARG version=2.0.10

RUN yarn config set registry https://registry.npmmirror.com

RUN yarn config set network-timeout 300000

RUN yarn add miniprogram-ci@$version

ADD script/* .
